#include "settingsthread.h"

SettingsThread::SettingsThread()
{
}

SettingsThread::~SettingsThread()
{
    this->wait();
}

void SettingsThread::runThread()
{
    qDebug()<<"SettingsThread::runThread()";
    this->start();
}

void SettingsThread::run()
{
    qDebug()<<"SettingsThread::run()";
    Settings *settings = Settings::getInstance();
    settings->refresh();
    exit();
}
